When the guest shuts down a VM, make sure that the domain gets destroyed.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 11 Aug 2005 21:06:15 +0000 (21:06 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 11 Aug 2005 21:06:15 +0000 (21:06 +0000)
commit065e90e43a38fa7f8b0c1ed323000956f07adb5e
tree32b06287414a300bb39c6abc9cd7aa25fad2612b
parent19b77ba87c8a00a796af44beb8781d5a5eb5f818
When the guest shuts down a VM, make sure that the domain gets destroyed.

Device model needs to do xm destroy before it exits on
guest shutdown/poweroff/halt -p.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/ioemu/monitor.c
tools/ioemu/target-i386-dm/helper2.c